package com.cutePet.pet.dao;

import com.cutePet.pet.domain.VarietyDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author charley
 * @email www.linqiaoli.com@qq.com
 * @date 2019-09-18 16:53:06
 */
@Mapper
public interface VarietyDao {

	VarietyDO get(Long varietyId);
	
	List<VarietyDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(VarietyDO variety);
	
	int update(VarietyDO variety);
	
	int remove(Long variety_id);
	
	int batchRemove(Long[] varietyIds);
}
